#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk

JAVA_HOME            := /usr/lib/kaffe
DEB_ANT_BUILD_TARGET := jar javadoc

install/libnachocalendar-java::
	dh_install lib/nachocalendar-$(DEB_UPSTREAM_VERSION).jar \
	  /usr/share/java
	dh_link /usr/share/java/nachocalendar-$(DEB_UPSTREAM_VERSION).jar \
	  /usr/share/java/nachocalendar.jar

get-orig-source:
	-uscan --upstream-version 0
